package com.zoro.barn.inner.service.documentsql.sql.dao;

import com.zoro.barn.commons.db.annotations.MybatisMapper;
import com.zoro.barn.inner.service.documentsql.sql.entity.SqlUsage;

import java.util.List;

/**
 * @author zhaoxingwu
 */
@MybatisMapper
public interface SqlUsageMapper {

    void deleteByProject(String projectId);

    void insertBatch(List<SqlUsage> usages);

    List<SqlUsage> getByProject(String projectId);
}
